package com.wfs.spring.thread.Thread;

/**
 * @Auther: wfs
 * @Date: 2019/6/13 21:16
 * @Description:
 */
public class ThreadSubtract extends Thread{
    Subtract add;

    public ThreadSubtract(Subtract add) {
        this.add = add;
    }

    @Override
    public void run() {
        add.subtract();
    }
}
